$(document).ready(function() {
    $('.lnavbtn').mouseover(function() {
        $(this).css("background-color", "rgba(255,255,256,0.4)");
    });
    
    $('.lnavbtn').mouseleave(function() {
        $(this).css("background-color", "rgba(255,255,255,0.2)");
    });
    
    $('.mainbtn').mouseover(function() {
        $(this).css("color","rgb(255,255,255)");
        $(this).css("background-color", "rgba(0,0,0,0.8)");
    });
    
    $('.mainbtn').mouseleave(function() {
        $(this).css("color","rgb(0,0,0)");
        $(this).css("background-color", "rgba(0,0,0,0.1)");
    });
    
    $('#RecentActBtn').click(function(e){
        e.preventDefault();
        $('#shops').css("display","none");
        $('#recentact').css("display","block");
        $('#newshop').css("display","none");
        $('#recentlogin').css("display","none");
    });
        
    $('#RecentLoginBtn').click(function(e){
        e.preventDefault();
        $('#shops').css("display","none");
        $('#recentact').css("display","none");
        $('#newshop').css("display","none");
        $('#recentlogin').css("display","block");
    });
    
    $('#ShopsBtn').click(function(e){
        e.preventDefault();
        $('#shops').css("display","block");
        $('#recentact').css("display","none");
        $('#newshop').css("display","none");
        $('#recentlogin').css("display","none");
    });
    
    $('#openShopBtn').click(function(e){
        e.preventDefault();
        $('#shops').css("display","none");
        $('#recentact').css("display","none");
        $('#newshop').css("display","block");
        $('#recentlogin').css("display","none");
    });
});
